import axios from "axios";
async function getData() {
  const resp = await axios.get("/api/blogType");
  console.log(resp.data);
}
getData();